package com.cxyd.modules.wms.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.cxyd.common.entity.WmsBaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 入库明细
 *
 * @author g_Cycle gengruyi01@163.com
 * @since 1.0.0 2023-04-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("wms_purchase_detail_bak")
public class PurchaseDetailBakEntity extends WmsBaseEntity {
    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * id
     */
    private Long detailId;
    /**
     * 主单id
     */
    private Long purchaseId;
    private String deliverNo;
    private String lineNo;
    /**
     * 商品编号
     */
    private String spuNo;
    private String spuName;

    /**
     * 计划量
     */
    private BigDecimal planQty;
    /**
     * 绑定量
     */
    private BigDecimal bindQty;
    private String sapOrderNo;
    private String orderRowNo;
    private String orderDetailId;
    /**
     * 单据状态(0-初始 1-收货中 2-收货完成 4-强制完成 9-废弃)
     */
    private Integer detailSt;
}